<@channelList siteid="${site.id}" parid="${currChannel.id}" ;sonChannel,index> 
<#if index==0>
<script>
location.href="${sonChannel.pageurl}";
</script>
</#if>
</@channelList>